package com.jmb.waimao.service;

import com.jmb.waimao.entity.EmailAddress;

/**
 * Service interface for email sending
 */
public interface EmailSendingService {
    
    /**
     * Send an email
     * 
     * @param to Recipient email address
     * @param subject Email subject
     * @param content Email content
     * @return true if successful, false otherwise
     */
    boolean sendEmail(String to, String subject, String content);
    
    /**
     * Send an email with recipient name
     * 
     * @param recipient Recipient email address entity
     * @param subject Email subject
     * @param content Email content
     * @return true if successful, false otherwise
     */
    boolean sendEmail(EmailAddress recipient, String subject, String content);
}
